package com.elitesland.b2c.com.vo.save;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * .
 *
 * @author Kaiser（wang shao）
 * @date 2021-02-016
 */
@ApiModel(description = "地区的保存对象")
@Data
public class ComAreaSaveVO implements Serializable {
    private static final long serialVersionUID = -817269261199046717L;

    @ApiModelProperty(value = "区域名称", required = true)
    private String name;

    @ApiModelProperty(value = "上级区域ID，为空则是顶级")
    private Long parentId;

    @ApiModelProperty(value = "排序")
    private Integer sortNo;

    @ApiModelProperty(value = "是否启用，默认是")
    private Boolean enabled;
}
